.member-center {
  padding: 20px;
  
  &-loading, &-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #999;
    font-size: 28px;
  }
  
  .member-card {
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    
    // 不同等级的卡片背景
    &.level-1 {
      background: linear-gradient(135deg, #7b7b7b, #3d3d3d);
    }
    
    &.level-2 {
      background: linear-gradient(135deg, #c0c0c0, #8a8a8a);
    }
    
    &.level-3 {
      background: linear-gradient(135deg, #ffd700, #b8860b);
    }
    
    &.level-4 {
      background: linear-gradient(135deg, #b9f2ff, #00bfff);
      
      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
        animation: shine 2s infinite;
      }
    }
    
    &-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 24px;
      
      .member-info {
        .member-name {
          font-size: 32px;
          font-weight: bold;
          display: block;
          margin-bottom: 8px;
        }
        
        .member-level {
          font-size: 24px;
          opacity: 0.9;
          background: rgba(255, 255, 255, 0.2);
          padding: 4px 12px;
          border-radius: 20px;
        }
      }
      
      .member-points {
        text-align: right;
        
        .points-value {
          font-size: 40px;
          font-weight: bold;
          display: block;
        }
        
        .points-label {
          font-size: 24px;
          opacity: 0.8;
        }
      }
    }
    
    .member-progress {
      margin: 20px 0;
      
      .progress-text {
        font-size: 24px;
        margin-top: 8px;
        display: block;
        opacity: 0.8;
      }
    }
    
    .member-benefits {
      margin-top: 24px;
      
      .benefits-title {
        font-size: 28px;
        margin-bottom: 16px;
        display: block;
      }
      
      .benefits-list {
        display: flex;
        flex-wrap: wrap;
        
        .benefit-item {
          background: rgba(255, 255, 255, 0.2);
          padding: 8px 16px;
          border-radius: 20px;
          margin-right: 12px;
          margin-bottom: 12px;
          font-size: 24px;
        }
      }
    }
    
    .points-multiplier {
      margin-top: 20px;
      font-size: 26px;
      text-align: right;
      opacity: 0.9;
    }
  }
  
  .points-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    
    .action-button {
      flex: 1;
      background: #f8f8f8;
      border-radius: 12px;
      padding: 16px 0;
      text-align: center;
      color: #333;
      font-size: 28px;
      margin: 0 10px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      
      &:first-child {
        margin-left: 0;
      }
      
      &:last-child {
        margin-right: 0;
      }
      
      &:active {
        opacity: 0.8;
      }
    }
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
} 